<?php
echo $this->adminToolBar('homepage', 'edit', '/admin/homepage/doedit/', '/admin/homepage/edit/', '/admin/homepage/delete/', '/admin/homepage/index/');
?>
<table align="center" width="100%" cellspacing="0" cellpadding="0" border="0">
      <tbody>


          <tr>
        <td align="left" valign="top"><table align="center" width="100%" cellspacing="2" cellpadding="2" bordercolor="#e0e0e0" border="0" style="border:solid 1px #e0e0e0; border-radius:5px;margin-left: 20px;border-right-width: 1px;width: 800px;margin-top: 20px;margin-bottom: 20px;padding-right:500px; ">
          <tbody><tr>
            <td valign="top" style="padding-left: 20px;padding-right: 20px;padding-top: 20px;padding-bottom: 2px;" class="heading">

               <?php
                 echo $this->homepageform;
               ?>

            </td>
          </tr>

        </tbody></table></td>
      </tr>
    </tbody></table>
<script language="javascript">
    function updatehomepage()
    {
        document.getElementById('homecontentform').submit(true);
    }

</script>